import account from './account'
import user from './user'

const routes = [
  // 窗体
  {
    path: '/',
    component: () => import('@/view/index.vue'),
  },

  // 店长
  {
    path: '/user',
    component: () => import('@/view/user/main.vue'),
    children: user
  },

  // 操作员
  {
    path: '/account',
    component: () => import('@/view/account/main.vue'),
    children: account
  }
]

export default routes